<template>
  <div class="page-container">
    <el-radio-group size="mini" v-model="active" style="margin-bottom: 10px">
      <el-radio-button label="1">小程序</el-radio-button>
      <el-radio-button label="2">员工</el-radio-button>
    </el-radio-group>
    <div v-if="active === '1'" class="page-content">
      <tab1></tab1>
    </div>
    <div v-if="active === '2'" class="page-content">
      <tab2></tab2>
    </div>
  </div>
</template>

<script>
import Tab1 from './components/Tab1'
import Tab2 from './components/Tab2'

export default {
  name: 'index',
  components: { Tab1, Tab2 },
  data() {
    return {
      active: '1',
    }
  },

  mounted() {},
  methods: {},
}
</script>

<style scoped lang="scss"></style>
